package cn.sofwin.sb;

import cn.sofwin.sb.controller.UserController;
import cn.sofwin.sb.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("cn.sofwin.sb")
public class AppConfig {

   /* @Bean("zs")
  public User xx(){
   User user=new User();
   user.setId(2);
   user.setUsername("zhangsan");
   user.setPassword("112233");
   user.setNickname("zhansan");
   return  user;
  }*/
}
